package com.woyou.utils;

/**
 * 拥有id的任务
 * @author longtao.li
 */
public abstract class Task implements Runnable {

	protected int taskID;
	public Task(int id) {
		this.taskID = id;
	}
	/**
	 * 得到任务ID
	 * @return
	 */
	public int getID(){
		return taskID;
	}

}
